<div class="companyIndustries view">
<div class="related">
    <h3><?php printf(__('Related Companies Under Industry: %s', true), $companyIndustry['CompanyIndustry']['name']);?></h3>
    <?php if (!empty($companyIndustry['Company'])):?>
    <!-- Table Content Area -->
    <table class="table fixed">
        <thead>
            <tr>
                <th width="10%" class="checkbox"><input type="checkbox" class="checkbox"/></th>
                <th width="10%"><?php __('Id'); ?></th>
                <th width="30%"><?php __('Name'); ?></th>
                <th width="30%"><?php __('Website'); ?></th>
                <th width="20%" class="actions"><?php __('Actions');?></th>
            </tr>
        <thead>
        <tfoot>
            <tr>
                <th class="checkbox"><input type="checkbox" class="checkbox"/></th>
                <th><?php __('Id'); ?></th>
                <th><?php __('Name'); ?></th>
                <th><?php __('Website'); ?></th>
                <th class="actions"><?php __('Actions');?></th>
            </tr>
        </tfoot>
        <tbody>
            <?php foreach ($companyIndustry['Company'] as $i=>$company):
                $class = $i % 2 == 0 ? ' class="altrow"' : ''; ?>
            <tr<?php echo $class;?>>
                <td class="checkbox"><input type="checkbox" class="checkbox"/></td>
                <td><?php echo $company['id'];?></td>
                <td><?php echo $company['name'];?></td>
                <td><?php echo $company['website'];?></td>
                <td class="actions">
                    <?php echo $html->link(__('View', true), array('controller' => 'companies', 'action' => 'view', $company['id'])); ?>
                    <?php echo $html->link(__('Edit', true), array('controller' => 'companies', 'action' => 'edit', $company['id'])); ?>
                    <?php echo $html->link(__('Delete', true), array('controller' => 'companies', 'action' => 'delete', $company['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $company['id'])); ?>
                </td>
            </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
    <?php else: ?>
        <p class="faq"><?php __('There are no company under this Industry'); ?></p>
    <?php endif; ?>
</div>
</div>
